home *** CD-ROM | disk | FTP | other *** search
- Path: gateway.wiltel.com!PC01483
- From: evan linden@wcom.com
- Newsgroups: comp.lang.c++
- Subject: How Do I WNetGetUser()
- Date: 22 Jan 1996 21:50:22 GMT
- Organization: WilTel
- Message-ID: <4e10qu$6d5@gateway.wiltel.com>
- NNTP-Posting-Host: pc07101.wiltel.com
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- I am attempting to call the function WNetGetUser() for visual c I have no
- trouble calling this function in Visual Basic 3.0 by declaring Declare
- Function WNetGetUser Lib "user" (ByVal user As String, bufsize As Integer) As
- Integer. I cannot get this function in Visual C. Why? Can anyone help? It is
- not documented in the SDK help file for either VB or VC. There is however a KB
- article in the Visual c section of Microsoft but it only addresses Windows NT
- & WFWG not 3.11 or 3.1. Any help would be appreciated.
-